#pragma once
#ifndef CLIB_CPU_H
#define CLIB_CPU_H


#include "clib_type.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct clib_cpu_info_s {
    i32_t cpu;
    i32_t node;
} clib_cpu_info_t;

i32_t clib_get_thrd_cpu_info(clib_cpu_info_t* info);

i32_t clib_cpu_info_init();

clib_cpu_info_t* clib_get_cpu_info(i32_t cpu);

#ifdef __cplusplus
}
#endif

#endif